html,body{
    height: 100%;
}
#page2.container{
    height: 100%;
    width: 7.5rem;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    background: #c42f30 url(../img/v3/bg-h5.png) top center no-repeat;
    background-size: 7.5rem 12.09rem;
}
.box-avatar{
  height: .85rem;
  width: .85rem;
  margin:0 auto .14rem;
  border-radius:50%;
  overflow: hidden;
  border:1px solid #f0dfb8;
}
.box-avatar img{
  height: 100%;
  width: 100%;
}
#page2 .scroll-info{
    font-family: ﻿PingFang-SC-Medium;
    width: 5.2rem;
    margin:2.54rem auto 0;
    font-size: .26rem;
    line-height: .4rem;
    color: #f1dab2;
    text-align: center;
}
.box-video{
    position: relative;
    overflow: hidden;
    width: 5.12rem;
    height: 2.88rem;
    margin:1rem auto 0;
    border-radius:5px;
}
.box-video video{
    width: 100%;
    height: 100%;
}
.box-video .btn-play{
    position: absolute;
    top: 50%;
    left: 50%;
    width: .92rem;
    height: .92rem;
    margin-left: -.46rem;
    margin-top: -.46rem;
    background:rgba(255,255,255,.3) url(../img/v2/play.png) no-repeat;
    background-size: contain;
    border-radius: 50%;
}
.icon-loading{
    display: none;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: .92rem;
    height: .92rem;
    margin-left:-.46rem;
    margin-top: -.46rem;
    background:url(../img/v2/loading.png) no-repeat;
    background-size: contain;
    -webkit-animation:loadingRotate .6s linear infinite;
    animation:loadingRotate .6s linear infinite;
}
@-webkit-keyframes  loadingRotate{
    0% {-webkit-transform:rotate(0deg);  }
    100% {-webkit-transform:rotate(360deg);  }
}
@keyframes  loadingRotate{
    0% {transform:rotate(0deg);  }
    100% {transform:rotate(360deg);  }
}
.btn-h5{
    width: 5.06rem;
    height: .84rem;
    margin:0 auto;
}
.btn-redpackage-h5{
    background: url(../img/v2/);

}
.btn-share-h5{
    margin-top: .3rem;
    border-radius:.42rem;
    border:1px solid #eddca7;
    font-size:.36rem;
    line-height:.84rem;
    color: #f1e5b6;
    font-family: ﻿PingFang-SC-Medium;
}
.btn-openRule-h5 {
    font-family: ﻿PingFang-SC-Medium;
    position: absolute;
    top: 3.6rem;
    right: 0;
    width: .98rem;
    height: .63rem;
    line-height:.63rem;
    font-size:.3rem;
    color: #f1e5b6;
    text-indent:.2rem;
    background-color: rgba(194, 49, 61, 1);
    border-radius:.32rem 0 0 .32rem;
}
.btn-redpackage-h5{
    margin-top: .4rem;
    background: url(../img/v2/btn-redpackage.png) no-repeat;
    background-size: contain;
}
#model {
    display: none;
    position: fixed;
    top: 0;
    z-index: 9;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.6);
}
#rule {
  display:none;
  position:relative;
  width:6rem;
  height:6.8rem;
  position: fixed;
  top: 2rem;
  left: 50%;
  margin-left:-3rem;
  opacity: 1;
  background: url(../img/rule_01.png) no-repeat;
  background-size: 100% 100%;
  z-index:998;
}

#rule #closeRule{
  position:absolute;
  right:.26rem;
  top:.22rem;
  width:.4rem;
  height:.4rem;
  z-index:999;
}

#rule .contentRule{
  position:absolute;
  top:1.35rem;
  width:100%;
  height:5.45rem;
  padding:.28rem .6rem;
}

#rule .contentRule p{
  line-height: .4rem;
  font-size: .31rem;
  color:#653c05;
  margin-bottom: 0.19rem;
}

#rule .contentRule p span{
  color:#fd343b;
}

#content{
  overflow: hidden;
  width:100%;
  color:#ffeab9;
  text-align: center;
  margin-top: 1.8rem;
}

#content .p1{
  font-size:.34rem;
  height:.56rem;
  line-height: .56rem;
}

#content .p2{
  font-size:.26rem;
  height:.48rem;
  line-height: .48rem;
  color:#fcc99a;
}

#content .p3{
  font-size:.4rem;
  height:.94rem;
  line-height: .94rem;
}
#shareImg {
    display: none;
    width: 7.5rem;
    height: 3.56rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}